<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<!--公共代码抽取-->


<!--导航-->
<nav th:fragment="menu(n)" class="ui inverted attached basic m-padded-tb-mini">
    <div class="ui container">
        <div class="ui inverted secondary stackable menu">
            <h2 class="ui teal header item"><a th:href="@{/}" style="text-decoration:none">Joker
            </a></h2>
            <a th:href="@{/}" class="m-item item m-mobile-hide" th:classappend="${n==1} ? 'active'"><i
                    class="home icon"></i>
                <span>首页</span></a>
            <a th:href="@{/types/-1}" class="m-item item m-mobile-hide" th:classappend="${n==2} ? 'active'"><i
                    class=" idea icon"></i>
                <span>分类</span></a>
            <a th:href="@{/tags/-1}" class="m-item item m-mobile-hide" th:classappend="${n==3} ? 'active'"><i
                    class=" tags icon"></i>
                <span>标签</span></a>
            <a th:href="@{/archives}" class="m-item item m-mobile-hide" th:classappend="${n==4} ? 'active'"><i
                    class=" clone icon"></i>
                <span>归档</span></a>
            <a th:href="@{/about}" class="m-item item m-mobile-hide" th:classappend="${n==5} ? 'active'"><i
                    class=" info icon"></i>
                <span>关于我</span></a>
            <div class="right  m-item  item m-mobile-hide">
                <form name="search" th:action="@{/search}" method="post" target="_blank">
                    <div class="ui icon  input">
                        <input type="text" name="query" placeholder="Search..." th:value="${query}">
                        <i onclick="document.forms['search'].submit()" class="search link icon"></i>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <a href="javascript:void(0)" class="ui menu toggle black icon button m-right-top m-mobile-show">
        <i class="sidebar icon"></i>
    </a>
</nav>

<!--底部footer-->
<footer th:fragment="footer" class="ui inverted vertical segment m-padded-tb-massive">
    <div class="ui center aligned container">
        <div class="ui inverted divided stackable grid" style="margin: 0 auto;">
            <div class="three wide column">
                <div class="ui  inverted link list">
                    <div class="item">
                        <img src="../static/images/zfb.png" th:src="@{/images/zfb.png}" class="ui rounded image" alt=""
                             style="width: 180px; margin-left: -60px;">
                    </div>
                </div>

            </div>
            <div class="three wide column">
                <h4 class="ui inverted  header">最新博客</h4>
                <div class="ui inverted link list">
                    <a href="#" class="item">测试链接</a>
                    <a href="#" class="item">测试链接</a>
                    <a href="#" class="item">测试链接</a>
                </div>
            </div>
            <div class="three wide column">
                <h4 class="ui inverted  header">联系我</h4>
                <div class="ui inverted link list">
                    <a href="#" class="item" th:text="#{index.email}"></a>
                    <a href="#" class="item" th:text="#{index.qq}"></a>
                </div>
            </div>
            <div class="seven wide column">
                <h4 class="ui inverted  header">随笔</h4>
                <p>理性的人追求的并非快乐，而只是避免痛苦。</p>
            </div>
        </div>
        <div class="ui section divider"></div>
        <div class="three wide column">
            <h4 class="ui inverted  header">友情链接</h4>
            <div class="ui inverted link list">
                <a href="https://www.baidu.com/" target="_blank" class="item">www.baidu.com</a>
                <a href="https://www.csdn.net/" target="_blank" class="item">www.csdn.com</a>
                <a href="https://dnspod.qcloud.com/static/webblock.html?d=www.liksn.cn" target="_blank" class="item">www.liksn.cn</a>
            </div>
        </div>
        <br>
        <br>
        <a href="http://101.43.3.47/" target="_blank"
           style="text-decoration: none;color:rgb(102,102,102);font-size: 5px ">
            http://101.43.3.47/
        </a>
    </div>
</footer>
<!--<th:block th:fragment="script">-->
<!--    <script>-->
<!--        $('#newblog-container').load(/*[[@{/footer/newblog}]]*/"/footer/newblog");-->
<!--    </script>-->
<!--</th:block>-->
</body>
</html>